mtblib_gobject_src = files([
    'debug.vala',
    'alloclist.vala',
    'shufflestack.vala',
])

mtblib_gobject_deps = [
    dependency('gobject-2.0'),
    dependency('glib-2.0'),
    dependency('gee-0.8'),
]

add_project_arguments(['--vapidir', '/usr/share/vala/vapi'], language: 'vala')
add_project_arguments(['--vapidir', meson.current_source_dir() / 'vapi'], language: 'vala')

mtblib_target_lib = library(
    'mtblib', mtblib_gobject_src,
    vala_header: 'mtblib.h',
    vala_vapi:   'mtblib.vapi',
    vala_gir:    'mtblib-0.1.gir',
    dependencies: mtblib_gobject_deps,
    install: false,
)
